#-------------------------------------------------
#
# Project created by 华磊
#
#-------------------------------------------------

QT += core xml

INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD

TARGET = AmclAdvance
TEMPLATE = lib
CONFIG += staticlib

DEFINES += AMCLADVANCE_LIBRARY

INCLUDEPATH+=/opt/ros/kinetic/include
INCLUDEPATH += ../../include/MacroDefine
INCLUDEPATH +=../HmiGsoapQt
INCLUDEPATH += /usr/local/include/kdl
INCLUDEPATH +=../AxisObject

INCLUDEPATH +=../DomParser
LIBS += -L../../lib -lDomParser


#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS #为什么其它库pro也要定义这个才起作用。


contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
}
contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")

}
contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
}



contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR =/agvwork/AgvFundation/fundation/lib/x86_WINDOWS
#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory_windows
MOC_DIR +=../../build/tmpBuildDirectory_windows
OBJECTS_DIR += ../../build/tmpBuildDirectory_windows
RCC_DIR += ../../build/tmpBuildDirectory_windows
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR =/agvwork/AgvFundation/fundation/lib

#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory
MOC_DIR +=../../build/tmpBuildDirectory
OBJECTS_DIR += ../../build/tmpBuildDirectory
RCC_DIR += ../../build/tmpBuildDirectory
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR =/agvwork/AgvFundation/fundation/lib-arm

#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory_arm
MOC_DIR +=../../build/tmpBuildDirectory_arm
OBJECTS_DIR += ../../build/tmpBuildDirectory_arm
RCC_DIR += ../../build/tmpBuildDirectory_arm
}


HEADERS += \
    amcl/map/map.h \
    amcl/pf/eig3.h \
    amcl/pf/pf.h \
    amcl/pf/pf_kdtree.h \
    amcl/pf/pf_pdf.h \
    amcl/pf/pf_vector.h \
    amcl/sensors/amcl_laser.h \
    amcl/sensors/amcl_odom.h \
    amcl/sensors/amcl_sensor.h \
    amcl_node.h \
    amclconfig.h

SOURCES += \
    amcl/map/map_cspace.cpp \
    amcl/sensors/amcl_laser.cpp \
    amcl/sensors/amcl_odom.cpp \
    amcl/sensors/amcl_sensor.cpp \
    amcl_node.cpp \
    amcl/map/map.c \
    amcl/map/map_draw.c \
    amcl/map/map_range.c \
    amcl/map/map_store.c \
    amcl/pf/eig3.c \
    amcl/pf/pf.c \
    amcl/pf/pf_draw.c \
    amcl/pf/pf_kdtree.c \
    amcl/pf/pf_pdf.c \
    amcl/pf/pf_vector.c \
    amclconfig.cpp




